package cn.glutnn.entity.dto;

import jakarta.annotation.Nonnull;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Title: DiscussesDTO
 * @Author QJQ
 * @Package cn.glutnn.entity.dto
 * @Date 2024/10/25 11:12
 * @description: 评论数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiscussesDTO {
    @NotNull
    private Integer knowledgeId;
    @Size(min = 1, max = 200)
    private String content;
}
